import request from '@/utils/request'

// 查询辅导员参加培训情况申请列表
export function trainingList(query) {
  return request({
    url: '/clr/training/list',
    method: 'get',
    params: query
  })
}
// 申请参加培训情况
export function trainingAdd(query) {
  return request({
    url: '/clr/training/applyTraining',
    method: 'post',
    data: query
  })
}
// 修改辅导员参加培训情况申请
export function trainingUpdata(query) {
  return request({
    url: '/clr/training',
    method: 'put',
    data: query
  })
}
// 删除辅导员参加培训情况申请
export function trainingDel(query) {
  return request({
    url: '/clr/training/' + query,
    method: 'delete',
  })
}
// 获取辅导员参加培训情况申请详细信息
export function getTraining(query) {
  return request({
    url: '/clr/training/' + query,
    method: 'get',
  })
}
